<tagLib name="html" />
<include file="Public:header" />
<script src="/Public/source/jquery.js"></script>
<script>
	$(function(){
		$("#quanxuan").click(function(){
			$("[type='checkbox']").attr("checked",'true');
		});
		$("#quxiao").click(function(){
			$("[type='checkbox']").removeAttr("checked");
		});
	});
</script>
<style>
.tableborder td{padding:0px;}
</style>
<div style="width:100%; height:15px;color:#000;margin:0px 0px 10px;">
    <div style="float:left;"><a href="{YICMS::U('Index/stat')}" target="main"><b>控制面板首页</b></a>&nbsp;&raquo;&nbsp;管理员权限</div>
</div>
	<table cellspacing="1" cellpadding="4" width="100%" class="tableborder base">
	<form action="{YICMS::U('Admin/amend')}" method="post">
		<input type="hidden" name="id" value="{YICMS:$list.id}"/>
		<tr class="header">
            <td colspan="9">管理员权限</td>
        </tr>
        <tr>
            <td class="altbg1" width="10%"><b>管理员名称:</b></td>
            <td class="altbg2" colspan="8">{YICMS:$list.username}</td>
        </tr>
		<tr>
            <td class="altbg1" width="10%"><b>操作:</b></td>
            <td class="altbg2" colspan="8">
				<a id="quanxuan" style="cursor:pointer"><b style="color:blue">全选</b></a>&nbsp;/&nbsp;
				<a id="quxiao" style="cursor:pointer"><b style="color:blue">全不选</b></a>&nbsp;/&nbsp;
				<a onclick="window.location.reload();return false;" style="cursor:pointer"><b style="color:blue">重选</b></a>
			</td>
        </tr>
		<tr>
            <td class="altbg1" width="10%"><b>后台访问权限列表:</b></td>
            <td class="altbg2">
				<label><input type="checkbox" name="level[]" value="1_0"   {YICMS:$list.level.1_0}/><b>系统设置</b></label><br/>
				<label><input type="checkbox" name="level[]" value="1_1_1" {YICMS:$list.level.1_1_1}/>--站点设置</label><br/>
				<label><input type="checkbox" name="level[]" value="1_1_2" {YICMS:$list.level.1_1_2}/>--------提交</label><br/>
				<label><input type="checkbox" name="level[]" value="1_2_1" {YICMS:$list.level.1_2_1}/>--其他设置</label><br/>
				<label><input type="checkbox" name="level[]" value="1_2_2" {YICMS:$list.level.1_2_2}/>--------提交</label><br/>
				<label><input type="checkbox" name="level[]" value="1_9_1" {YICMS:$list.level.1_8_1}/>--数据库管理</label><br/>
				<label><input type="checkbox" name="level[]" value="1_3_1" {YICMS:$list.level.1_3_1}/>--幻灯片管理</label><br/>
				<label><input type="checkbox" name="level[]" value="1_3_2" {YICMS:$list.level.1_3_2}/>--------增删改</label><br/>
				<label><input type="checkbox" name="level[]" value="1_4_1" {YICMS:$list.level.1_4_1}/>--在线客服</label><br/>
				<label><input type="checkbox" name="level[]" value="1_4_2" {YICMS:$list.level.1_4_2}/>--------增删改</label><br/>
				<label><input type="checkbox" name="level[]" value="1_5_1" {YICMS:$list.level.1_8_1}/>--友情链接</label><br/>
				<label><input type="checkbox" name="level[]" value="1_5_2" {YICMS:$list.level.1_8_2}/>--------增删改</label><br/>
				<label><input type="checkbox" name="level[]" value="1_6_1" {YICMS:$list.level.1_5_1}/>--管理员</label><br/>
				<label><input type="checkbox" name="level[]" value="1_6_2" {YICMS:$list.level.1_5_2}/>--------增删改</label><br/>
				<label><input type="checkbox" name="level[]" value="1_8_1" {YICMS:$list.level.1_8_1}/>--广告管理</label><br/>
				<label><input type="checkbox" name="level[]" value="1_8_2" {YICMS:$list.level.1_8_2}/>--------增删改</label><br/>
			</td>
			<td class="altbg2" valign="top">
				<label><input type="checkbox" name="level[]" value="3_0"   {YICMS:$list.level.3_0}/><b>内容管理</b></label><br/>
				<label><input type="checkbox" name="level[]" value="3_1_1" {YICMS:$list.level.3_1_1}/>--内容分类</label><br/>
				<label><input type="checkbox" name="level[]" value="3_1_2" {YICMS:$list.level.3_1_2}/>--------增删改</label><br/>
				<label><input type="checkbox" name="level[]" value="3_2_1" {YICMS:$list.level.3_2_1}/>--内容列表</label><br/>
				<label><input type="checkbox" name="level[]" value="3_2_2" {YICMS:$list.level.3_2_2}/>--------增删改</label><br/>
				<label><input type="checkbox" name="level[]" value="3_3_1" {YICMS:$list.level.3_3_1}/>--标签列表</label><br/>
				<label><input type="checkbox" name="level[]" value="3_3_2" {YICMS:$list.level.3_3_2}/>--------增删改</label><br/>
			</td>
			<td class="altbg1" valign="top">
				<label><input type="checkbox" name="level[]" value="4_0"   {YICMS:$list.level.4_0}/><b>会员管理</b></label><br/>
				<label><input type="checkbox" name="level[]" value="4_1_1" {YICMS:$list.level.4_1_1}/>--会员列表</label><br/>
				<label><input type="checkbox" name="level[]" value="4_1_2" {YICMS:$list.level.4_1_2}/>--------查看会员</label><br/>
				<label><input type="checkbox" name="level[]" value="4_1_3" {YICMS:$list.level.4_1_3}/>--------禁止会员</label><br/>
				<label><input type="checkbox" name="level[]" value="4_1_4" {YICMS:$list.level.4_1_4}/>--------删除会员</label><br/>
			</td>
			<td class="altbg2" valign="top">
				<label><input type="checkbox" name="level[]" value="5_0"   {YICMS:$list.level.5_0}/><b>模板管理</b></label><br/>
				<label><input type="checkbox" name="level[]" value="5_1_1" {YICMS:$list.level.5_1_1}/>--模板列表</label><br/>
				<label><input type="checkbox" name="level[]" value="5_1_2" {YICMS:$list.level.5_1_2}/>--------切换模板</label><br/>
				<label><input type="checkbox" name="level[]" value="5_2_1" {YICMS:$list.level.5_2_1}/>--编辑模板</label><br/>
				<label><input type="checkbox" name="level[]" value="5_2_2" {YICMS:$list.level.5_2_2}/>--------修改模板</label><br/>
				<label><input type="checkbox" name="level[]" value="5_2_3" {YICMS:$list.level.5_2_3}/>--------删除模板</label><br/>
			</td>
			<td class="altbg1" valign="top">
				<label><input type="checkbox" name="level[]" value="6_0"   {YICMS:$list.level.6_0}/><b>留言管理</b></label><br/>
				<label><input type="checkbox" name="level[]" value="6_1_1" {YICMS:$list.level.6_1_1}/>--回复列表</label><br/>
				<label><input type="checkbox" name="level[]" value="6_1_2" {YICMS:$list.level.6_1_2}/>--------查看详细内容</label><br/>
				<label><input type="checkbox" name="level[]" value="6_1_3" {YICMS:$list.level.6_1_3}/>--------隐藏内容</label><br/>
				<label><input type="checkbox" name="level[]" value="6_1_5" {YICMS:$list.level.6_1_5}/>--------删除内容</label><br/>
				<label><input type="checkbox" name="level[]" value="6_2_1" {YICMS:$list.level.6_2_1}/>--建议列表</label><br/>
				<label><input type="checkbox" name="level[]" value="6_2_2" {YICMS:$list.level.6_2_2}/>--------查看建议内容</label><br/>
				<label><input type="checkbox" name="level[]" value="6_2_3" {YICMS:$list.level.6_2_3}/>--------删除建议</label><br/>
			</td>
			<td class="altbg2" valign="top">
				<label><input type="checkbox" name="level[]" value="7_0"   {YICMS:$list.level.7_0}/><b>网站信息</b></label><br/>
				<label><input type="checkbox" name="level[]" value="7_1_1" {YICMS:$list.level.7_1_1}/>--网站信息</label><br/>
				<label><input type="checkbox" name="level[]" value="7_1_2" {YICMS:$list.level.7_1_2}/>--------修改</label><br/>
				<label><input type="checkbox" name="level[]" value="7_2_1" {YICMS:$list.level.7_2_1}/>--自定义页面列表</label><br/>
				<label><input type="checkbox" name="level[]" value="7_2_2" {YICMS:$list.level.7_2_2}/>--------删改</label><br/>
				<label><input type="checkbox" name="level[]" value="7_3_1" {YICMS:$list.level.7_3_1}/>--添加自定义页面</label><br/>
			</td>
			<td class="altbg1" valign="top">
				<label><input type="checkbox" name="level[]" value="8_0"   {YICMS:$list.level.8_0}/><b>清空缓存</b></label><br/>
				<label><input type="checkbox" name="level[]" value="8_1_1" {YICMS:$list.level.8_1_1}/>--清空缓存</label><br/>
				<label><input type="checkbox" name="level[]" value="8_1_2" {YICMS:$list.level.8_1_2}/>--------删除缓存</label><br/>
			</td>
        </tr>
	
    </table>
    <br>
    <center><input type="submit" value="修 改" class="button"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="{YICMS::U('Admin/index')}" class="button">返回管理员列表</a></center><br>
	</form>	
	<br/>
<include file="Public:footer" />